import request from "@/utils/request";
const pmsPortrait = "/pmsPortrait";

// 查询画像列表
export function listPmsPortrait(data) {
  return request({
    url: `${pmsPortrait}/listPmsPortrait`,
    method: "post",
    data: data,
  });
}

// 新增画像列表
export function insertPmsPortrait(data) {
  return request({
    url: `${pmsPortrait}/insertPmsPortrait`,
    method: "post",
    data: data,
  });
}

// 修改画像列表
export function updatePmsPortrait(data) {
  return request({
    url: `${pmsPortrait}/updatePmsPortrait`,
    method: "post",
    data: data,
  });
}

// 删除画像列表
export function deletePmsPortrait(data) {
  return request({
    url: `${pmsPortrait}/deletePmsPortrait`,
    method: "post",
    data: data,
  });
}

// 导出随访信息列表
export const exportData = `${pmsPortrait}/exportData`;
